<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8"/>
<title>show.html</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<div><label><span style="display:inline;color:red;" th:text="${yes}"></span></label></div>
<table>
<tr>
<td>UserId</td>
<td>UserName</td>
<td>Delete</td>
<td>Update</td>
</tr>
<div th:each="user,s:${list}">
<tr>
<td><a th:href="@{delete-new(userId=${user.userId})}"><span th:text="${user.userId}"></span></a></td>
<td><a th:href="@{update-new(userId=${user.userId})}"><span th:text="${user.userName}"></span></a></td>
<td><a th:href="@{delete-new(userId=${user.userId})}">delete</a></td>
<td><a th:href="@{update-new(userId=${user.userId})}">update</a></td>
</tr>
</div>
</table>
<form action="init" th:object="${userBean}" method="post">
<div><input type="submit" value="返回首页" name="returnindex" /></div>
</form>
</body>
</html>


